-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧪 Rewire pytest fixtures avoiding import loops #915
Merged
webknjaz
merged 2 commits into
aio-libs:master
from
webknjaz:bugfixes/tests-import-loop
Jan 14, 2024
Merged
🧪 Rewire pytest fixtures avoiding import loops #915
webknjaz
merged 2 commits into
aio-libs:master
from
webknjaz:bugfixes/tests-import-loop
Jan 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
9 times, most recently
from
January 12, 2024 03:01
4f58a19
to
f5989b3
Compare
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
6 times, most recently
from
January 12, 2024 03:50
aa8c76d
to
fa62492
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #915 +/- ##
===========================================
+ Coverage 76.19% 88.88% +12.69%
===========================================
Files 5 5
Lines 504 504
Branches 116 116
===========================================
+ Hits 384 448 +64
+ Misses 118 34 -84
- Partials 2 22 +20 ☔ View full report in Codecov by Sentry. |
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
from
January 12, 2024 04:18
fa62492
to
5052cd8
Compare
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
6 times, most recently
from
January 13, 2024 20:33
b0c5b45
to
7451dce
Compare
This patch also refactors and reduces the duplication of the previously existing fixtures for retrieving different multidict module implementations and makes the c-extension testing controllable by a CLI option on the pytest level. Fixes aio-libs#837
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
from
January 14, 2024 01:28
7451dce
to
fc739fa
Compare
webknjaz
added a commit
to webknjaz/multidict
that referenced
this pull request
Jan 14, 2024
psf-chronographer
bot
added
the
bot:chronographer:provided
There is a change note present in this PR
label
Jan 14, 2024
webknjaz
force-pushed
the
bugfixes/tests-import-loop
branch
from
January 14, 2024 02:58
09def78
to
548523e
Compare
Closed
webknjaz
added a commit
that referenced
this pull request
Jan 14, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch also refactors and reduces the duplication of the previously existing fixtures for retrieving different multidict module implementations and makes the c-extension testing controllable by a CLI option on the pytest level.
Fixes #837
Are there changes in behavior for the user?
The contributors will have a better control over what to test. And there shouldn't be import loops preventing the testing of C extensions in some cases.
Checklist